<%@ page language="java"  pageEncoding="utf-8"%>

<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
request.setAttribute("basePath",basePath);

%>
<html>
<head>
<title>CheckBox fieldValue Test</title>
<script language="javascript" type="text/javascript" src="${basePath}js/jquery-1.3.2.min.js"></script>
   <script type="text/javascript" src="${basePath }js/My97DatePicker/WdatePicker.js"></script>
</head>
<script type="text/javascript">
//初始化加載


</script>

	
<body>
<h3>拷贝项目升级包工具，和拷贝路径工具</h3>
<font color="red">
<s:actionerror/>
</font>
<s:form action="CheckBox2">
请选择要拷的后缀：<br/>

<s:iterator value="#application['checkboxIte']" var="sm" >
	<s:checkbox name="magazines" 
	            label="%{checkboxVal}"
	            fieldValue="%{checkboxKey}" />
	</s:iterator>
<s:checkbox name="hiddenFile" label="隐藏文件是否拷贝" />

<s:textfield name="copyPath" value="D:\dddddddddddddddd\agrext2"  size="50" label="请输入拷贝的路径"  labelposition="top" />
<s:textfield name="toCopyPath" size="50" value="E:\zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz\project" label="请输要存放的路径"  labelposition="top" />
<s:radio label="输出路径名選擇：A(全路徑) || N(文件名)" name="sel" list="{'A','N'}"/>

1、点击input日期事件：<input id="d12" name="date" type="text" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" readOnly/><br>

<s:submit/>
</s:form>
</body>
</html>
